package com.migo.service.impl;

import com.migo.dao.TechnicalSupportDao;
import com.migo.entity.TechnicalSupportEntity;
import com.migo.service.TechnicalSupportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("technicalSupportService")
public class TechnicalSupportServiceImpl implements TechnicalSupportService {
	@Autowired
	private TechnicalSupportDao technicalSupportDao;
	
	@Override
	public TechnicalSupportEntity queryObject(Integer id){
		return technicalSupportDao.queryObject(id);
	}
	
	@Override
	public List<TechnicalSupportEntity> queryList(Map<String, Object> map){
		return technicalSupportDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return technicalSupportDao.queryTotal(map);
	}
	
	@Override
	public void save(TechnicalSupportEntity technicalSupport){
		technicalSupportDao.save(technicalSupport);
	}
	
	@Override
	public void update(TechnicalSupportEntity technicalSupport){
		technicalSupportDao.update(technicalSupport);
	}
	
	@Override
	public void delete(Integer id){
		technicalSupportDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		technicalSupportDao.deleteBatch(ids);
	}
	
}
